$(document).ready(function() {
	$.ajax({
		type: 'post',
		url: 'http://www.516code.cn/homePage/homepage/QueryCarAll.do',
		dataType: 'json',
		success: function(msg) {
			for(var i = 0; i < msg.data.length; i++) {
				$("#ServiceModels").append("<div class='col-md-3 col-sm-6 col-xs-12 mb-30 fix'><div class='course-item text-center'><img src='http://www.516code.cn/车型/"+msg.data[i].carBrandImg+"'width='190px'/></p><span>"+msg.data[i].carBrandName+"</span></div></div>");
//				$("#ServiceModels").append("<div class='col-md-3 col-sm-6 col-xs-12 mb-30 fix'><div class='course-item text-center'><img src='http://www.516code.cn/车型/奥迪Q5.jpg' width='200px'height='100px'/></p><span>dsads</span></div></div>");
			}
		}
	})
})
